package com.hucais.agg.bean

/**
 * 全文检索Index部分数据
 *
 * @param isbn             书号
 * @param second_channel   二级渠道
 * @param publishing_house 出版社
 * @param category         分类
 * @param store_pricing    定价
 * @param selling_price    售价
 * @param sales            销量
 * @param uploader         版权人员
 * @param copyright_month  获取版权月
 */
case class SearchInfoPart(
                           second_channel: String,
                           isbn: String,
                           publishing_house: String,
                           category: String,
                           store_pricing: java.lang.Float,
                           selling_price: java.lang.Float,
                           sales: java.lang.Long,
                           uploader: String,
                           copyright_month: String
                         )

case class BookBaseInfoExt(
                            channel: String,
                            isbn: String,
                            publishing_house: String,
                            category: String,
                            store_pricing: java.lang.Float,
                            selling_price: java.lang.Float,
                            sales: java.lang.Long,
                            uploader: String,
                            copyright_month: String,
                            premium_multiple: String,
                            premium_type: String
                          )

/**
 * 开卷数据
 *
 * @param isbn             书号
 * @param sale_time        销售时间
 * @param category         分类
 * @param publishing_house 出版社
 * @param month_sales      月销量
 */
case class OpenBooksPart(
                          isbn: String,
                          sale_time: String,
                          category: String,
                          publishing_house: String,
                          month_sales: String
                        )

/**
 * 上架产品
 *
 * @param channel          渠道
 * @param copyright_person 版权业务员
 * @param shelf_time       上架时间
 */
case class ShelfProductPart(
                             channel: String,
                             copyright_person: String,
                             shelf_time: String
                           )

/**
 * 产品动销
 *
 * @param statistical_month 统计月份
 * @param sales             动销量
 */
case class ProductSalesPart(
                             statistical_month: String,
                             sales: java.lang.Long
                           )

/**
 * 渠道维度指标详情
 *
 * @param channel     渠道
 * @param metric_type 指标类型
 * @param key         指标key
 * @param value       指标值
 * @param total_val   指标总值
 * @param create_time 创建时间
 */
case class DwtChannelDimMetricDetail(
                                      channel: String,
                                      metric_type: String,
                                      key: String,
                                      value: java.lang.Long,
                                      total_val: java.lang.Long,
                                      create_time: String
                                    )

case class DwtSalesTrend(
                          channel: String,
                          product_type: String,
                          year: String,
                          month: String,
                          value: java.lang.Long,
                          create_time: String
                        )

case class DwtCopyrightsTopn(
                              year: String,
                              month: String,
                              copyright_person: String,
                              copyright_num: java.lang.Long,
                              shelf_num: java.lang.Long,
                              create_time: String
                            )

case class DwtCopyrightsInfo(
                              year: String,
                              month: String,
                              total_copyright_num: java.lang.Long,
                              total_shelf_num: java.lang.Long,
                              total_sales: java.lang.Long,
                              create_time: String
                            )

case class DwtCategorysDetail(
                               channel: String,
                               product_type: String,
                               product_type_resources: java.lang.Long,
                               publishing_house: String,
                               publishing_house_resources: java.lang.Long,
                               create_time: String
                             )